/************************************************
 * Author       :   XXY
 * Blog         :   https://www.cnblogs.com/jzyl
 * Gitee        :   https://gitee.com/xiaobaichong
 * Email        :   1047185209@QQ.com
 * FileName     :   Init.cs
 * CreateData   :   2023/5/8 16:45:39
 * UnityVersion :   2021.3.20f1c1
 * Description  :   热更初始化脚本
************************************************/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace Hotfix
{
    /// <summary>
    /// 热更初始化脚本
    /// </summary>
    internal static class Init
    {
        /// <summary>
        /// 程序初始化入口
        /// </summary>
        public static void Start()
        {
            //创建场景
            Game.Instance.CreateScene<MainScene>();
            // 运行场景
            Game.Instance.LoadScene<MainScene>();
        }
    }
}
